﻿using System;
using System.Linq;
using CxRomos.Core.DataAccess;
using CxRomos.Core.Services;
using StructureMap;

namespace CxRomos.Web {
    public partial class _Default : System.Web.UI.Page {
        protected void Page_Load(object sender, EventArgs e) {
            var context = ObjectFactory.GetInstance<IWebContext>();
            Label1.Text = "Welcome " + context.CurrentUser.FirstName + " " + context.CurrentUser.LastName;
        }
    }
}
